package visualizacao;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.ImageIcon;

public class TelaRoteador2 extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaRoteador2 frame = new TelaRoteador2();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TelaRoteador2() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		
		JMenuBar menuBar = new JMenuBar();
		setJMenuBar(menuBar);
		
		JMenu mnOpes = new JMenu("Op\u00E7\u00F5es");
		menuBar.add(mnOpes);
		
		JMenuItem mntmConfigurarConexo = new JMenuItem("Configurar Conex\u00E3o");
		mnOpes.add(mntmConfigurarConexo);
		
		JMenuItem mntmIniciarpararServio = new JMenuItem("Iniciar/Parar Servi\u00E7o");
		mnOpes.add(mntmIniciarpararServio);
		
		JMenuItem mntmSobre = new JMenuItem("Sobre");
		mnOpes.add(mntmSobre);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBackground(Color.WHITE);
		panel.setBounds(0, 0, 434, 262);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblRoteadorWifiWindows = new JLabel("Roteador Wifi Windows 7");
		lblRoteadorWifiWindows.setForeground(Color.RED);
		lblRoteadorWifiWindows.setFont(new Font("Tempus Sans ITC", Font.PLAIN, 24));
		lblRoteadorWifiWindows.setBounds(145, 174, 279, 62);
		panel.add(lblRoteadorWifiWindows);
		
		JLabel lblNewLabel = new JLabel("");
		lblNewLabel.setIcon(new ImageIcon(TelaRoteador2.class.getResource("/imagens/images.jpg")));
		lblNewLabel.setBounds(42, 22, 220, 141);
		panel.add(lblNewLabel);
	}
}
